package cn.xiongxf.utils;

import cn.xiongxf.User;
import org.springframework.web.bind.annotation.PathVariable;

public class FuseUtil {
    public static User fuse(@PathVariable Long id,Throwable e){
        e.printStackTrace();
        return new User(-1L,"熔断触发！","当前服务不可用，请稍后再试！");
    }
}
